package com.yuting.code.dao;

import com.yuting.common.pojo.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CodeDao extends JpaRepository<AuthCode, Long> {


    public List<AuthCode> findAllByEmailEqualsAndCodeEquals(String email, String code);
}
